Optimal. Leaf size=177 \[ -\frac{a \sqrt{a^2+2 a b x^2+b^2 x^4} \left (c+d x^2\right )^{3/2}}{c x \left (a+b x^2\right )}+\frac{x \sqrt{a^2+2 a b x^2+b^2 x^4} \sqrt{c+d x^2} (2 a d+b c)}{2 c \left (a+b x^2\right )}+\frac{\sqrt{a^2+2 a b x^2+b^2 x^4} (2 a d+b c) \tanh ^{-1}\left (\frac{\sqrt{d} x}{\sqrt{c+d x^2}}\right )}{2 \sqrt{d} \left (a+b x^2\right )} \]
[Out]
_______________________________________________________________________________________
Rubi [A] time = 0.287868, antiderivative size = 177, normalized size of antiderivative = 1., number of steps used = 5, number of rules used = 5, integrand size = 37, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.135 \[ -\frac{a \sqrt{a^2+2 a b x^2+b^2 x^4} \left (c+d x^2\right )^{3/2}}{c x \left (a+b x^2\right )}+\frac{x \sqrt{a^2+2 a b x^2+b^2 x^4} \sqrt{c+d x^2} (2 a d+b c)}{2 c \left (a+b x^2\right )}+\frac{\sqrt{a^2+2 a b x^2+b^2 x^4} (2 a d+b c) \tanh ^{-1}\left (\frac{\sqrt{d} x}{\sqrt{c+d x^2}}\right )}{2 \sqrt{d} \left (a+b x^2\right )} \]
Antiderivative was successfully verified.
[In] Int[(Sqrt[c + d*x^2]*Sqrt[a^2 + 2*a*b*x^2 + b^2*x^4])/x^2,x]
[Out]
_______________________________________________________________________________________
Rubi in Sympy [A] time = 17.751, size = 128, normalized size = 0.72 \[ - \frac{a \left (c + d x^{2}\right )^{\frac{3}{2}} \sqrt{\left (a + b x^{2}\right )^{2}}}{c x \left (a + b x^{2}\right )} + \frac{\left (2 a d + b c\right ) \sqrt{\left (a + b x^{2}\right )^{2}} \operatorname{atanh}{\left (\frac{\sqrt{d} x}{\sqrt{c + d x^{2}}} \right )}}{2 \sqrt{d} \left (a + b x^{2}\right )} + \frac{x \sqrt{c + d x^{2}} \left (2 a d + b c\right ) \sqrt{\left (a + b x^{2}\right )^{2}}}{2 c \left (a + b x^{2}\right )} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] rubi_integrate((d*x**2+c)**(1/2)*((b*x**2+a)**2)**(1/2)/x**2,x)
[Out]
_______________________________________________________________________________________
Mathematica [A] time = 0.080046, size = 93, normalized size = 0.53 \[ \frac{\sqrt{\left (a+b x^2\right )^2} \left (\sqrt{d} \left (b x^2-2 a\right ) \sqrt{c+d x^2}+x (2 a d+b c) \log \left (\sqrt{d} \sqrt{c+d x^2}+d x\right )\right )}{2 \sqrt{d} x \left (a+b x^2\right )} \]
Antiderivative was successfully verified.
[In] Integrate[(Sqrt[c + d*x^2]*Sqrt[a^2 + 2*a*b*x^2 + b^2*x^4])/x^2,x]
[Out]
_______________________________________________________________________________________
Maple [A] time = 0.013, size = 128, normalized size = 0.7 \[{\frac{1}{ \left ( 2\,b{x}^{2}+2\,a \right ) cx}\sqrt{ \left ( b{x}^{2}+a \right ) ^{2}} \left ( 2\,ad\ln \left ( x\sqrt{d}+\sqrt{d{x}^{2}+c} \right ) cx+2\,a{d}^{3/2}{x}^{2}\sqrt{d{x}^{2}+c}+b{x}^{2}\sqrt{d{x}^{2}+c}\sqrt{d}c-2\,a \left ( d{x}^{2}+c \right ) ^{3/2}\sqrt{d}+b{c}^{2}\ln \left ( x\sqrt{d}+\sqrt{d{x}^{2}+c} \right ) x \right ){\frac{1}{\sqrt{d}}}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] int((d*x^2+c)^(1/2)*((b*x^2+a)^2)^(1/2)/x^2,x)
[Out]
_______________________________________________________________________________________
Maxima [F] time = 0., size = 0, normalized size = 0. \[ \text{Exception raised: ValueError} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate(sqrt(d*x^2 + c)*sqrt((b*x^2 + a)^2)/x^2,x, algorithm="maxima")
[Out]
_______________________________________________________________________________________
Fricas [A] time = 0.289159, size = 1, normalized size = 0.01 \[ \left [\frac{{\left (b c + 2 \, a d\right )} x \log \left (-2 \, \sqrt{d x^{2} + c} d x -{\left (2 \, d x^{2} + c\right )} \sqrt{d}\right ) + 2 \,{\left (b x^{2} - 2 \, a\right )} \sqrt{d x^{2} + c} \sqrt{d}}{4 \, \sqrt{d} x}, \frac{{\left (b c + 2 \, a d\right )} x \arctan \left (\frac{\sqrt{-d} x}{\sqrt{d x^{2} + c}}\right ) +{\left (b x^{2} - 2 \, a\right )} \sqrt{d x^{2} + c} \sqrt{-d}}{2 \, \sqrt{-d} x}\right ] \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate(sqrt(d*x^2 + c)*sqrt((b*x^2 + a)^2)/x^2,x, algorithm="fricas")
[Out]
_______________________________________________________________________________________
Sympy [F(-1)] time = 0., size = 0, normalized size = 0. \[ \text{Timed out} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate((d*x**2+c)**(1/2)*((b*x**2+a)**2)**(1/2)/x**2,x)
[Out]
_______________________________________________________________________________________
GIAC/XCAS [A] time = 0.282439, size = 157, normalized size = 0.89 \[ \frac{1}{2} \, \sqrt{d x^{2} + c} b x{\rm sign}\left (b x^{2} + a\right ) + \frac{2 \, a c \sqrt{d}{\rm sign}\left (b x^{2} + a\right )}{{\left (\sqrt{d} x - \sqrt{d x^{2} + c}\right )}^{2} - c} - \frac{{\left (b c \sqrt{d}{\rm sign}\left (b x^{2} + a\right ) + 2 \, a d^{\frac{3}{2}}{\rm sign}\left (b x^{2} + a\right )\right )}{\rm ln}\left ({\left (\sqrt{d} x - \sqrt{d x^{2} + c}\right )}^{2}\right )}{4 \, d} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate(sqrt(d*x^2 + c)*sqrt((b*x^2 + a)^2)/x^2,x, algorithm="giac")
[Out]